package com.tzxs.pay.main.bill.model;

import java.util.List;

public class CollectionBillEntity {


    /**
     * code : 10001
     * status : success
     * msg : 操作成功
     * ver : online
     * data : [{"trade_no":"2018052821001004410513595865","out_trade_no":"po201805281154291285453","total_amount":"+0.13","status":"TRADE_SUCCESS","pay_status":4,"merchant_id":12,"remark":"无备注","type":103,"fina_type":"in","pay_type":"支付宝","created_at":{"date":"2018-05-28 11:54:29"},"pay_status_txt":"支付成功(有退款)"}]
     * x_data : {"count":{"amount":0.13,"bisu":1},"out":{"count":0,"amount":0},"in":{"count":1,"amount":0.13}}
     */

    private String code;
    private String status;
    private String msg;
    private String ver;
    private XDataBean x_data;
    private List<CollectionBillBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getVer() {
        return ver;
    }

    public void setVer(String ver) {
        this.ver = ver;
    }

    public XDataBean getX_data() {
        return x_data;
    }

    public void setX_data(XDataBean x_data) {
        this.x_data = x_data;
    }

    public List<CollectionBillBean> getData() {
        return data;
    }

    public void setData(List<CollectionBillBean> data) {
        this.data = data;
    }

    public static class XDataBean {
        /**
         * count : {"amount":0.13,"bisu":1}
         * out : {"count":0,"amount":0}
         * in : {"count":1,"amount":0.13}
         */

        private CountBean count;
        private OutBean out;
        private InBean in;

        public CountBean getCount() {
            return count;
        }

        public void setCount(CountBean count) {
            this.count = count;
        }

        public OutBean getOut() {
            return out;
        }

        public void setOut(OutBean out) {
            this.out = out;
        }

        public InBean getIn() {
            return in;
        }

        public void setIn(InBean in) {
            this.in = in;
        }


        public static class OutBean {
            /**
             * count : 0
             * amount : 0
             */

            private int count;
            private double amount;

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public double getAmount() {
                return amount;
            }

            public void setAmount(double amount) {
                this.amount = amount;
            }
        }

        public static class InBean {
            /**
             * count : 1
             * amount : 0.13
             */

            private int count;
            private double amount;

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public double getAmount() {
                return amount;
            }

            public void setAmount(double amount) {
                this.amount = amount;
            }
        }
    }

    public static class DataBean {
        /**
         * trade_no : 2018052821001004410513595865
         * out_trade_no : po201805281154291285453
         * total_amount : +0.13
         * status : TRADE_SUCCESS
         * pay_status : 4
         * merchant_id : 12
         * remark : 无备注
         * type : 103
         * fina_type : in
         * pay_type : 支付宝
         * created_at : {"date":"2018-05-28 11:54:29"}
         * pay_status_txt : 支付成功(有退款)
         */

        private String trade_no;
        private String out_trade_no;
        private String total_amount;
        private String status;
        private int pay_status;
        private int merchant_id;
        private String remark;
        private int type;
        private String fina_type;
        private String pay_type;
        private CreatedAtBean created_at;
        private String pay_status_txt;

        public String getTrade_no() {
            return trade_no;
        }

        public void setTrade_no(String trade_no) {
            this.trade_no = trade_no;
        }

        public String getOut_trade_no() {
            return out_trade_no;
        }

        public void setOut_trade_no(String out_trade_no) {
            this.out_trade_no = out_trade_no;
        }

        public String getTotal_amount() {
            return total_amount;
        }

        public void setTotal_amount(String total_amount) {
            this.total_amount = total_amount;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public int getPay_status() {
            return pay_status;
        }

        public void setPay_status(int pay_status) {
            this.pay_status = pay_status;
        }

        public int getMerchant_id() {
            return merchant_id;
        }

        public void setMerchant_id(int merchant_id) {
            this.merchant_id = merchant_id;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getFina_type() {
            return fina_type;
        }

        public void setFina_type(String fina_type) {
            this.fina_type = fina_type;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public CreatedAtBean getCreated_at() {
            return created_at;
        }

        public void setCreated_at(CreatedAtBean created_at) {
            this.created_at = created_at;
        }

        public String getPay_status_txt() {
            return pay_status_txt;
        }

        public void setPay_status_txt(String pay_status_txt) {
            this.pay_status_txt = pay_status_txt;
        }

        public static class CreatedAtBean {
            /**
             * date : 2018-05-28 11:54:29
             */

            private String date;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }
        }
    }
}




